package finger.service;

import finger.domain.Cart;
import finger.domain.Order;
import finger.domain.OrderItem;

import java.util.List;

public interface OrderService {

    public String createOrder(Cart cart, Integer userId);

    public List<Order> myOrders(int id);

    List<OrderItem> orderDetails(String orderId);

    public List<Order> queryAllOrders();

    public void sendOrder(String orderId);

    public void receiveOrder(String orderId);

}
